import request from "@/utils/request";

const api_name = "/serviceedu/eduteacher";

export default {
    // 前端讲师分页查询
    getPageList(page, limit) {
        return request({
            url: `${api_name}/getTeacherFrontList/${page}/${limit}`,

            method: "get"
        });
    },

    // 讲师详情列表
    getById(teacherId) {
        return request({
            url: `${api_name}/${teacherId}`,

            method: "get"
        });
    }
};